/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.MsgRelease;

public interface MsgReleaseDao extends Dao {
	public List getPopMsgReleases(final MsgRelease msgRelease) ;
    /**
     * Retrieves all of the msgReleases
     */
    public List getMsgReleases(MsgRelease msgRelease);

    /**
     * Gets msgRelease's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the msgRelease's id
     * @return msgRelease populated msgRelease object
     */
    public MsgRelease getMsgRelease(final Integer id);

    public String getMsgReleaseUser(Integer id);
    /**
     * Saves a msgRelease's information
     * @param msgRelease the object to be saved
     */    
    public int saveMsgRelease(MsgRelease msgRelease);

    /**
     * Removes a msgRelease from the database by id
     * @param id the msgRelease's id
     */
    public void removeMsgRelease(MsgRelease msgRelease);
}

